export interface RootObject {
    code: string;
    msg: string;
    result: Result[];
}

export interface Result {
    id: string;
    name: string;
    picture: string;
    saleInfo: string;
    children: Child[];
    goods: Good[];
}

interface Good {
    id: string;
    name: string;
    desc: string;
    price: string;
    picture: string;
    orderNum: number;
}

interface Child {
    id: string;
    name: string;
    layer: number;
    parent: null;
}